package com.love.poetry.infrastructure.persist.security;

import java.util.List;

import com.love.poetry.domain.security.Authority;
import com.youboy.core.orm.Page;

public interface AuthorityRepository {
	Authority get(String id);

	List<Authority> query(Object object);

	Page<Authority> queryPage(Page<Authority> page);

	void update(Authority entity);

	void delete(Authority entity);

	void save(Authority entity);
}
